﻿<!DOCTYPE>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>材料申领单</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <style type="text/css">
        .linkbutton{margin-left:20px;width:85px;}
        table tr td{padding:0px 5px}
    </style>
</head>
<body>
      <div class="panelSection">    
        <div class="easyui-panel " title="查询区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
           <form id="searchForm" method="post">
	    	<table>
	    		<tr class="divLabel">
                    <td>材料编码:</td>
                    <td>材料描述:</td>
                    <td>状态:</td>
                    <td>申领时间:</td>
	    		</tr>
	    		<tr>
                    <td><input class="easyui-textbox" type="text" name="materialName" style="width: 120px; height: 22px"/></td>
                    <td><input class="easyui-textbox" type="text" name="Description" style="width: 120px; height: 22px"/></td>
                    <td><input id="Status" name="Status" style="width: 120px; height: 22px"/></td>
	    			<td>
                        <input class="easyui-datebox" name="startedate" style="width: 120px; height: 22px" />至
                        <input class="easyui-datebox" name="enddate" style="width: 120px; height: 22px"/>
                    </td>
                    <td><a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.searchData()">查询</a></td>
	    			<td><a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.searchReset()">重置</a></td>
                    <td></td>
	    		</tr>
	    	</table>
	    </form> 
        </div>
      </div>
      <div class="panelSection">    
        <div class="easyui-panel " title="材料申领单" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <table id="AuxMaterialApplyTable" style="height:300px;width:100%"></table>
             <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]
                ">
                    </div>
        </div>
      </div>
      <div class="panelSection" id="EditorpanelSection">    
        <div class="easyui-panel " title="编辑区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <form id="EditorForm">
                  <table class="tabel" cellpadding="5">
	    		    <tr class="divLabel">
	    			    <td style="color:red" class="Editor">物料编码/名称</td>
                        <td style="color:red" class="Editor">申领数量</td>
                        <td style="color:red" class="Editor">单位</td>
                        <td class="Editor">任务单号</td>
                        <td class="Editor">工序</td>
                        <td class="Editor">用途</td>
                        <td style="color:red" class="NoEditor">退回原因</td>
	    		    </tr>
	    		    <tr>
	    			    <td class="Editor"><input  type="hidden" name="ZSNPMATERIALAPPLYBILLID" style="width:150px; height:22px;display:none"  />
                        <input  type="hidden" name="MATERIALCODE" style="width:150px; height:22px;display:none"  id="AUXMATERIALID"/>
                        <input  type="hidden" name="TOGETHERFLAG" style="width:150px; height:22px;display:none"  id="TOGETHERFLAG"/>
                        <div id="AuxMaterial"></div>
                        </td>
	    			    <td class="Editor"><input class="easyui-textbox" type="text" name="APPLYQTY" style="width: 150px; height: 22px" precision="0.1" min="0.1"/></td>
                        <td class="Editor"><input class="easyui-combobox" type="text" name="UOMID" style="width: 150px; height: 22px" id="UOMID" data-options="editable:false"/></td>
                        <td class="Editor"> <div id="TOGETHERFLAGDIV"></div></td>
                        <td class="Editor"><input class="easyui-combobox" type="text" name="WORKFLOWSTEPID" style="width: 150px; height: 22px" id="WORKFLOWSTEPID" data-options="editable:false"/></td>
                        <td class="Editor"><input class="easyui-textbox" type="text" data-options="multiline:true"  style="width: 342px; height: 22px" name="PURPOSE"/></td>
                        <td class="NoEditor"><input class="easyui-textbox" type="text" data-options="multiline:true"  name="RETURNREASON" style="width: 150px; height: 22px" id="RETURNREASON" data-options="editable:false"/></td>
	    		    </tr>
	    	    </table>
              </form>
      </div>
      </div>
      <div class="panelSection">    
        <div class="easyui-panel " title="按钮区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <div style="margin:15px 0px">
              <span id="create">
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.CreateNPMaterialApplyBill()">清除</a>
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SaveNPMaterialApplyBill()">保存</a>
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.DaleteNPMaterialApplyBill()">删除</a>
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SubmitNPMaterialApplyBill()" >提交</a>
              </span>
              <span id="ConfirmAuditRetrun">
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.ConfirmNPMaterialApplyBill()"  id="Confirm">确认</a>
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.AuditNPMaterialApplyBill()" id="Audit">审核</a>
                  <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.RetrunNPMaterialApplyBill()" id="Retrun">退回</a>
              </span>
            </div>
      </div>
      </div>
      <div id="statusMessage" style="font-size: 14px; height: 40px"></div>
     
</body>
</html>

<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/ZSNotProductMaterialApplyBill.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/selectCombox.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/newselectCombox.js" type="text/javascript"></script>
